package net.jsoft.pms.service.oracle.plan;

import java.io.InputStream;
import java.util.Date;
import java.util.List;
import java.util.Map;

import net.jsoft.pms.vo.plan.PlanTaskInfo;

/**
 * 计划管理Service
 *
 * @author John
 * @Date 2017-08-03 15:51:51
 */
public interface IPlanService
{

    Map<String, Object> getAllTasks();

    Map<String, List<PlanTaskInfo>> groupTasks(List<PlanTaskInfo> tasks);

    List<PlanTaskInfo> getPeriodTasks(List<PlanTaskInfo> tasks, Date start, Date end);

    Map<String, List<PlanTaskInfo>> groupbyFinishFlag(List<PlanTaskInfo> list);

    Map<String, Date> getDays(Date date);

    void batchImport(InputStream inputStream);

    List<PlanTaskInfo> getAllTasksByDB();

    List<String> getAllResource();

    Map<String, List<PlanTaskInfo>> groupbyPlanType(List<PlanTaskInfo> list);

}
